package indi.kane.demandlist.dao;

import indi.kane.demandlist.entity.Member;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MemberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);

    @Select("SELECT * FROM members;")
    List<Member> loadAll();
}